<!doctype html>
<html lang="en-us" dir="ltr">
  <head>
  <meta charset="utf-8">
<!-- 

   Copyright (c) 2010, Dragan Babic
   
   Permission is hereby granted, free of charge, to any person
   obtaining a copy of this software and associated documentation
   files (the "Software"), to deal in the Software without
   restriction, including without limitation the rights to use,
   copy, modify, merge, publish, distribute, sublicense, and/or sell
   copies of the Software, and to permit persons to whom the
   Software is furnished to do so, subject to the following
   conditions:
   
   The above copyright notice and this permission notice shall be
   included in all copies or substantial portions of the Software.
   
   THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
   EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
   OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
   NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
   HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
   WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
   FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
   OTHER DEALINGS IN THE SOFTWARE.

-->
    <title>Uni&ndash;Form</title>
    
     <link href="<?php echo base_url();?>css/uni-form.css" media="screen" rel="stylesheet"/>
    <link href="<?php echo base_url();?>css/demo.css" media="screen" rel="stylesheet"/>
    <link href="<?php echo base_url();?>css/default.uni-form.css" id="formStyle" title="Default Style" media="screen" rel="stylesheet"/>
    
    
    
    <!--[if lte ie 7]>
      <style type="text/css" media="screen">
        /* Move these to your IE6/7 specific stylesheet if possible */
        .uniForm, .uniForm fieldset, .uniForm .ctrlHolder, .uniForm .formHint, .uniForm .buttonHolder, .uniForm .ctrlHolder ul{ zoom:1; }
      </style>
    <![endif]-->
    
<!--[if lt IE 8]>
        <style type="text/css">

                #container { text-align: center; }
                        #container br { display: block; }
                        #container * { text-align: left; }
                        .inner

                        {
                                zoom: 1;
                                display: inline;
                        }
        </style>
<![endif]-->

	<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>

    <script type="text/javascript" src="<?php echo base_url();?>js/uni-form-validation.jquery.js" charset="utf-8"></script>
    <script type="text/javascript">
      $(function(){
        
        // init Uni-Form
        $('form.uniForm').uniform({
          prevent_submit : true
        });
        
        // specific for this page
        $(".browse a").click(function(e) {
          e.preventDefault();
          $("#formStyle").attr("href",$(this).attr('rel'));
          return false;
        });
      });
    </script>

  </head>

  <body>

 <form name="form1" action="<?php echo site_url('truck/saveUpload');?>" class="uniForm" method="post" enctype="multipart/form-data">
	
 <p id="inherited">
    
  
            
      <fieldset>
        <h3><img src="<?php echo base_url();?>img/UBE-logo.png" width="126" height="111" alt="logo"></h3>
        <h3>Supply Chain Management System - Ubon Bio Ethanol Co., Ltd.<br>
        </h3>
        
        <div class="ctrlHolder">
          <label for=""><em>*</em> 1. เลือกไฟล์เพื่อ upload</label>
          <input type="file" id="" name="file1" size="35" class="fileUpload required" accept="" />
          <p class="formHint">***</p>
        </div>
        
        <div class="ctrlHolder">
          <label for=""><em>*</em>2. เลือกลาน</label>
          <select name="larn" id="" class="selectInput  small">
      			<?php 
      			foreach ($pos_option as $eachpos){
      				echo '<option value="'.$eachpos['posid'].'">'.$eachpos['posname'].'</option>';
      			}
      			?>
		</select>
          <p class="formHint">***</p>
        </div>
      </fieldset>
      
      <div class="buttonHolder">
        
      <a href="index.html">  <button type="submit" class="primaryAction">Submit</button></a>
      </div>
    </p>
  </form></div>

    <div id="footer">
      <p>Supply Chain Management System. All Rights Reserved (C) 2012 Ubon bio ethanol Co., Ltd.</p>
    </div>


    
  </body>
</html>